import { NgModule } from '@angular/core';
import { IonicApp, IonicModule } from 'ionic-angular';
import { MyApp } from './app.component';
import { AboutPage } from '../pages/about/about';
import { PopoverPage } from '../pages/about/about-popover';
import { ContactPage } from '../pages/contact/contact';
import { HomePage } from '../pages/home/home';
import { LoginPage } from '../pages/login/login';
import { TabsPage } from '../pages/tabs/tabs';
import { MyinfoPage } from '../pages/myinfo/myinfo';
import { StartPage } from '../pages/start/start';
//页面要加这里
//服务要加这里
import {HttpService} from "../providers/HttpService";
import {StorageService} from "../providers/StorageService";

@NgModule({
  declarations: [
    MyApp,
    AboutPage,
    PopoverPage,
    ContactPage,
    HomePage,
    LoginPage,
    TabsPage,
    MyinfoPage,
    StartPage
  ],

  imports: [
    IonicModule.forRoot(MyApp)
  ],

  bootstrap: [IonicApp],
  
  entryComponents: [
    MyApp,
    AboutPage,
    PopoverPage,
    ContactPage,
    HomePage,
    LoginPage,
    TabsPage,
    MyinfoPage,
    StartPage
  ],
  providers: [HttpService,StorageService]
})
export class AppModule {}
